package com.jshop.seckill.web.service;

import com.jshop.seckill.domain.UserAddress;
import com.jshop.seckill.http.HttpResult;

import java.util.List;

public interface AddressService {

    /**
     * 调用AddressService的接口，查询收货地址
     */
    UserAddress findByAid(Integer addressId);


    HttpResult addAddress(UserAddress userAddress);

    List<UserAddress> getAddrByUserId(Integer userId);

    HttpResult updateAddress(UserAddress userAddress);

    HttpResult deleteById(Integer addressId);

}

